const { DataTypes } = require("sequelize");
const sequelize = require("./index");

const Banner = sequelize.define(
    "banner",
    {
        id: {
            type: DataTypes.INTEGER,
            primaryKey: true,
            allowNull: false,
            autoIncrement: true,
        },
        url: {
            type: DataTypes.TEXT,
            allowNull: false,
        },
    },
    {
        timestamps: false,
    }
);

module.exports = Banner;
